<%@ Page Language="C#" MasterPageFile="~/Client/ClientMasterPage.master" AutoEventWireup="true" CodeFile="PretragaProizvoda.aspx.cs" Inherits="Public_PretragaProizvoda" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>
    <table style="width: 779px; height: 216px" id="TABLE1" onclick="return TABLE1_onclick()">
        <tr>
            <td>
                <asp:Label ID="LabelNaziv" runat="server" Text="Title"></asp:Label></td>
            <td style="width: 614px">
                <asp:TextBox ID="TextBoxNaziv" runat="server"></asp:TextBox></td>
            <td style="width: 6px">
            </td>
            <td style="width: 6px">
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="LabelCategory" runat="server" Text="Category"></asp:Label></td>
            <td style="width: 614px">
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList></td>
            <td style="width: 6px">
            </td>
            <td style="width: 6px">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td style="width: 614px">
                <asp:Button ID="ButtonSearchProduct" runat="server" OnClick="ButtonSearchProduct_Click"
                    Text="Search Products" /></td>
            <td style="width: 6px">
            </td>
            <td style="width: 6px">
            </td>
        </tr>
        <tr>
            <td style="height: 21px">
            </td>
            <td style="width: 614px; height: 21px">
            </td>
            <td style="width: 6px; height: 21px">
            </td>
            <td style="width: 6px; height: 21px">
            </td>
        </tr>
        <tr>
            <td colspan="4" style="height: 199px">
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="4" DataSourceID="Products" ForeColor="#333333" GridLines="None"
                    Height="181px" Style="table-layout: fixed; border-collapse: separate" Width="766px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnLoad="GridView1_Load">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="ProductName" HeaderText="ProductName" ReadOnly="True"
                            SortExpression="ProductName" />
                        <asp:BoundField DataField="ProductPrice" HeaderText="ProductPrice" ReadOnly="True"
                            SortExpression="ProductPrice" />
                        <asp:HyperLinkField HeaderText="Buy" />
                    </Columns>
                    <RowStyle BackColor="#EFF3FB" />
                    <EditRowStyle BackColor="#2461BF" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <asp:ObjectDataSource ID="Products" runat="server" SelectMethod="getAllProducts"
                    TypeName="SajtLibrary.SajtClasses.Product"></asp:ObjectDataSource>
            </td>
        </tr>
    </table>
</asp:Content>

